import React from 'react'

import { useParams } from "react-router-dom";

export default function Detail() {
  const params = useParams();
  return (
    <div>
      <h2>Detail：{params.id}</h2>
    </div>
  )
}
